<?php

namespace App\Models;

use App\Scopes\NotDeleteScope;
use Illuminate\Database\Eloquent\Model;

class SymptomDictionary extends Model
{
    protected $table = 'tn_dic_complain';

    public $timestamps = false;

    protected $hidden = [
        'isdel'
    ];

    public static function boot()
    {
        parent::boot();

        //  为支持老项目的表结构添加的查询作用域
        static::addGlobalScope(new NotDeleteScope());
    }


}
